package com.tql.mall.model.product;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tql.mall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



@Data
@ApiModel(description = "销售属性值")
@TableName("spu_sale_attr_value")
public class SpuSaleAttrValue extends BaseEntity {
    private static final long serialVersionUID = 1L;
    // 是否选中
    @TableField(exist = false)
    String isChecked;

    @ApiModelProperty(value = "商品id")
    @TableField("spu_id")
    private Long spuId;

    @ApiModelProperty(value = "销售属性id")
    @TableField("base_sale_attr_id")
    private Long baseSaleAttrId;

    @ApiModelProperty(value = "销售属性值名称")
    @TableField("sale_attr_value_name")
    private String saleAttrValueName;

    @ApiModelProperty(value = "销售属性名称(冗余)")
    @TableField("sale_attr_name")
    private String saleAttrName;
}

